onEvent('recipes', event => {
    let color_list = [
        '32x quark:indigo_crystal', //青金石
        '32x quark:blue_crystal',  //钻石
        '32x quark:green_crystal', //绿宝石
        '32x quark:yellow_crystal', //萤石
        '32x quark:orange_crystal', //铜
        '32x quark:red_crystal', //红石
        '32x quark:black_crystal', //煤炭
        '32x quark:white_crystal', //铁
        '32x quark:violet_crystal', //龙
    ];

    let ore_list_2 = [
        '32x emendatusenigmatica:aluminum_chunk',
        '32x emendatusenigmatica:gold_chunk',
        '32x emendatusenigmatica:zinc_chunk',
        '32x emendatusenigmatica:nickel_chunk',
        '32x emendatusenigmatica:tin_chunk',
        '32x emendatusenigmatica:silver_chunk',
        '32x emendatusenigmatica:lead_chunk'
    ]

    event.recipes.custommachinery.custom_machine("custommachinery:crystal_farm", 200)
        .requireItem('waterstrainer:strainer_survivalist_reinforced').chance(0)
        .produceItem(ore_list_2[0])
        .produceItem(ore_list_2[1])
        .produceItem(ore_list_2[2])
        .produceItem(ore_list_2[3])
        .produceItem(ore_list_2[4])
        .produceItem(ore_list_2[5])



    event.recipes.custommachinery.custom_machine("custommachinery:crystal_farm", 200)
        .requireItem('quark:violet_crystal').chance(0)
        .produceItem(color_list[0])
        .produceItem(color_list[1])
        .produceItem(color_list[2])
        .produceItem(color_list[3])
        .produceItem(color_list[4])
        .produceItem(color_list[5])
        .produceItem(color_list[6])
        .produceItem(color_list[7])
        .produceItem(color_list[8])
});